﻿// -----------------------------------------------------------------------
// <copyright file="ServiceCode_BLL.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace PMSGSC.BLL
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using PMSGSC.DAL;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public class ServiceCode_BLL
    {
        public static List<ServiceCode> GetAll(int shipID)
        {
            return ServiceCode_DAL.GetAll(shipID);
        }
        public static bool Insert(ServiceCode ServiceCode)
        {
            return ServiceCode_DAL.Insert(ServiceCode);
        }
        public static bool Update(ServiceCode ServiceCode)
        {
            return ServiceCode_DAL.Update(ServiceCode);
        }
        public static bool Delete(ServiceCode ServiceCode)
        {
            return ServiceCode_DAL.Delete(ServiceCode);
        }
        public static bool IsExits(ServiceCode ServiceCode)
        {
            return ServiceCode_DAL.IsExits(ServiceCode);
        }
        public static bool IsRelationship(ServiceCode ServiceCode)
        {
            return ServiceCode_DAL.IsRelationship(ServiceCode);
        }
    }
}
